import pandas as pd

df=pd.read_excel('result2_2.xlsx')
df['有效期']=pd.to_datetime(df['有效期'])
df=df[df['有效期']<='2021-9-30']
df.to_excel('result3_2.xlsx',index=False)
